package com.gopay.common.domain.dps;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;
/**
 * APP版本管理表
 * @author shozhengda
 *
 */
@Entity
@Table(name = "WA_APPVERSION_CONTROLLER")
public class WaVersionController extends BaseEntity {
	private static final long serialVersionUID = -3084046029040489L;
    
	private Integer id;
	private String appType;
	private String appVersion;
	private String deviceType;
	private String appUrl;
	private String mustFlag;
	private String appSign;
	private Date createTime;
	private Date lastUpdateTime;
	private String versionDesc;
	private String updateContent;
	private String remark1;
	private String remark2;
	
	@Id
    @Column(name = "APPVERSION_SQ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "WA_APPVERSION_CONTROLLER_SEQ")
    @SequenceGenerator(name = "WA_APPVERSION_CONTROLLER_SEQ", allocationSize = 1, initialValue = 1, sequenceName = "WA_APPVERSION_CONTROLLER_SEQ")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	@Column(name = "APP_TYPE", length = 10)
	public String getAppType() {
		return appType;
	}

	public void setAppType(String appType) {
		this.appType = appType;
	}

	@Column(name = "APP_VERSION", length = 10)
	public String getAppVersion() {
		return appVersion;
	}

	public void setAppVersion(String appVersion) {
		this.appVersion = appVersion;
	}

	@Column(name = "DEVICE_TYPE", length = 10)
	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}


	@Column(name = "APP_URL", length = 100)
	public String getAppUrl() {
		return appUrl;
	}
	
	public void setAppUrl(String appUrl) {
		this.appUrl = appUrl;
	}


	@Column(name = "MUST_FLAG", length = 10)
	public String getMustFlag() {
		return mustFlag;
	}

	public void setMustFlag(String mustFlag) {
		this.mustFlag = mustFlag;
	}

	@Column(name = "APP_SIGN", length = 500)
	public String getAppSign() {
		return appSign;
	}

	public void setAppSign(String appSign) {
		this.appSign = appSign;
	}

	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@Column(name = "LASTUPDATE_TIME")
	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}


	@Column(name = "VERSION_DESC", length = 100)
	public String getVersionDesc() {
		return versionDesc;
	}

	public void setVersionDesc(String versionDesc) {
		this.versionDesc = versionDesc;
	}

	@Column(name = "UPDATE_CONTENT", length = 200)
	public String getUpdateContent() {
		return updateContent;
	}

	public void setUpdateContent(String updateContent) {
		this.updateContent = updateContent;
	}
	
	@Column(name = "REMARK1", length = 100)
	public String getRemark1() {
		return remark1;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	@Column(name = "REMARK2", length = 100)
	public String getRemark2() {
		return remark2;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}
	
}
